import Mock from "mockjs";
import banner from "./data/banner";
import floor from "./data/floor";
import address from "./data/address";



Mock.mock("/mock-api/banner", "get", () => {
  return {
    code: 200,
    message: "成功",
    data: banner,
    ok: true,
  };
});

Mock.mock("/mock-api/floor", "get", () => {
  return {
    code: 200,
    message: "成功",
    data: floor,
    ok: true,
  };
});

Mock.mock("/mock-api/address", "get", () => {
  return {
    code: 200,
    message: "成功",
    data: address,
    ok: true,
  };
});
